package com.example.demo.service;

import com.example.demo.entity.Wallet;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.WalletRecord;

import java.util.List;

/**
* @author 三石
* @description 针对表【wallet】的数据库操作Service
* @createDate 2024-06-13 09:00:04
*/
public interface WalletService extends IService<Wallet> {

    Wallet SelectWalletByUid(Long userId);

    List<WalletRecord> SelectWalletRecordByUid(Long userId);

    void addMoney(Long userId, Double money);

    Wallet createWalletByUid(Long userId);
}
